<extend name="Public/base" />

<block name="body">
<div class="main-title">
	<h2>新增文本</h2>
</div>
<form action="{:U()}" method="post" class="form-horizontal">
	<div class="form-item">
		<label class="item-label">文本<span class="check-tips">（试题答案文本内容）</span></label>
		<div class="controls">
			<label class="textarea input-large"
				style="width: 60%; height: 200px;"> <textarea name="text"
					style="width: 100%; height: 100%;"></textarea>
			</label>
		</div>
	</div>
	<div class="form-item">
		<label class="item-label">顺序号<span class="check-tips">（确定答案中的排序位置）</span></label>
		<div class="controls">
			<input type="text" class="text input-small" name="order"
				value="0" />
		</div>
	</div>
	<div class="form-item">
		<input type="hidden" name="question" value="{$question}" />
		<input type="hidden" name="type" value="{$type}" />
		<button class="btn submit-btn ajax-post" id="submit" type="submit"
			target-form="form-horizontal">确 定</button>
		<button class="btn btn-return"
			onclick="javascript:history.back(-1);return false;">返 回</button>
	</div>
</form>
</block>

<block name="script"> <script type="text/javascript">
    //导航高亮
    $('.side-sub-menu').find('a[href="{:U('ItemBank/myitems')}"]').closest('li').addClass('current');
    </script> </block>
